![]() |
EqualRgn |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Determines whether two regions have identical sizes, shapes, and locations.
Boolean EqualRgn ( rgnA, rgnB );
A handle to the first of two regions to compare.
A handle to the second of two regions to compare.
TRUE if the two regions are equal; FALSE if they are not. The two regions must have identical sizes, shapes, and locations to be considered equal. Any two empty regions are always equal.
The EqualRgn function compares the two regions whose handles you pass in the rgnA and rgnB parameters and returns TRUE if they’re equal or FALSE if they’re not.
The two regions must have identical sizes, shapes, and locations to be considered equal. Any two empty regions are always equal.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)